from langchain_core.messages import SystemMessage, HumanMessage
from langchain_core.prompts import ChatPromptTemplate

system_message_prompt = SystemMessage(content = "You are a helpful assistant that translates {input_language} to {output_language}.")
human_message_prompt = HumanMessage(content = "{text}")
print(system_message_prompt, human_message_prompt)
res = chat_prompt = ChatPromptTemplate.from_messages([system_message_prompt, human_message_prompt])
print(res)